package com.qujia.fleet.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class AppletRechargeRecordVo implements Serializable {

    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    @ApiModelProperty(value = "油企名称")
    private String enterpriseName;

    @ApiModelProperty(value = "油站id")
    private Long stationId;

    @ApiModelProperty(value = "油站名称")
    private String stationName;

    @ApiModelProperty(value = "订单状态")
    private String status;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftAmount;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "充值卡类型")
    private String rechargeCardType;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value = "余额变动: +:增加、-:减少")
    private String payTypeState;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "订单时间/创建时间")
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String userPhone;

    @ApiModelProperty(value = "加油员")
    private String oilPersonName;

    @ApiModelProperty(value = "应收")
    private BigDecimal totalAmt;

    @ApiModelProperty(value = "退款")
    private BigDecimal refundAmt;

    @ApiModelProperty(value = "笔数")
    private Integer count;

    @ApiModelProperty(value = "原订单号")
    private String originOrderNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "原订单支付时间")
    private Date originPayTime;
}
